import React from 'react'
import usermenuModel from '../interface/usermenuModel';
interface Iprops{
    list:Array<usermenuModel>
}

export default function Menu2(props:Iprops) {
    return (
        <div>
            {props.list.map(item=>{
                return  <span key={item._id}><a href={"#"+item.path}>{item.msg}|</a></span>
            })}
        </div>
    )
}
